﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace SevenInvaders.INTRO
{
    class Intro
    {
        Texture2D background;

        Song background_music;

        /// <summary>
        /// dafdfsdg
        /// dfsdfsdf\n
        /// addfvgbfbx
        /// </summary>
        public Intro(ContentManager Content, GameWindow Window)
        {
            background = Content.Load<Texture2D>("INTRO/intro");
        }

        public void Update(GameTime gameTime, KeyboardState ks)
        {
            if (ks.IsKeyDown(Keys.Enter))
            {
                Game1.current_state = Game1.State.LEVEL_CLEBER;
            }
        }

        public void Draw(GameTime gameTime, SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(background, Vector2.Zero, Color.White);
        }
    }
}
